package 集合;

import java.util.ArrayDeque;
import java.util.LinkedList;
import java.util.Queue;

/**
 * @author:谢君臣
 * @Date:2021/10/1-19:38
 * @version:1.0
 * @function:
 */
public class 队列 {
    public static void main(String[] args) {
        Queue queue = new ArrayDeque();
        queue.offer(1);
        queue.add(1);
        queue.poll();
        Queue queue1 = new LinkedList();
    }
}
